import {Http} from '@angular/http';
import {NgLayer, NgLayerRef} from 'ng2-layer';
import {Component,ViewContainerRef, Injectable}  from '@angular/core';
/**
 * 左侧菜单部分
 */
@Component({
	selector: '.data',
	templateUrl: 'template/router/data.html'
})
export class DataComp {
	data = {};
	
	constructor(private http:Http){
		//获取盒子详细信息
		http.get({
			search:{
				m:"Admin",
				c:"ApiSchool",
				a:"getAdminSchoolIndex"
			}
		}).then((data)=>{
			this.data = data.data;
		})
	}
	
}